import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import menus from "./modoules/menus"
import roles from "./modoules/roles"   // 引入角色模块
import managers from './modoules/manager'
import cate from './modoules/cate'

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    menus,
    roles,   // 注册角色模块
    managers,
    cate
  }
})
